package com.example.drug.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@ApiModel(value = "处方详情返回体")
public class PharmacistDetail {
    @ApiModelProperty(value = "患者ID")
    @JSONField(name = "PID")
    private Long PID;
    @ApiModelProperty(value = "处方订单号")
    @JSONField(name = "RxOrderNO")
    private String RxOrderNO;
    @ApiModelProperty(value = "问诊订单号")
    @JSONField(name = "OrderNO")
    private String OrderNO;
    @ApiModelProperty(value = "开方医生ID")
    @JSONField(name = "OPDCID")
    private Long OPDCID;
    @ApiModelProperty(value = "首诊机构")
    @JSONField(name = "FHospital")
    private String FHospital;
    @ApiModelProperty(value = "患者姓名")
    @JSONField(name = "Name")
    private String Name;
    @ApiModelProperty(value = "患者性别")
    @JSONField(name = "Sex")
    private String Sex;
    @ApiModelProperty(value = "患者年龄")
    @JSONField(name = "Age")
    private Integer Age;
    @ApiModelProperty(value = "审方状态 待审核=0, 审核通过=1, 审核失败=2,")
    @JSONField(name = "ChkStatus")
    private Integer ChkStatus;
    @ApiModelProperty(value = "就医科室")
    @JSONField(name = "FDepartment")
    private String FDepartment;
    @ApiModelProperty(value = "首诊日期")
    @JSONField(name = "FVisitDate")
    private Date FVisitDate;
    @ApiModelProperty(value = "西医疾病编号")
    @JSONField(name = "DialecticalCode")
    private String DialecticalCode;
    @ApiModelProperty(value = "西医疾病名称")
    @JSONField(name = "Dialectical")
    private String Dialectical;
    @ApiModelProperty(value = "中医辨证名称")
    @JSONField(name = "zDialectics")
    private String zDialectics;
    @ApiModelProperty(value = "中医疾病名称")
    @JSONField(name = "zDialectical")
    private String zDialectical;   
    @ApiModelProperty(value = "开方医生姓名")
    @JSONField(name = "OpenDoctor")
    private String OpenDoctor;
    @ApiModelProperty(value = "药品总价(含运费)")
    @JSONField(name = "SalePrice")
    private BigDecimal SalePrice;
    @ApiModelProperty(value = "禁忌")
    @JSONField(name = "AVoid")
    private String AVoid;
    @ApiModelProperty(value = "审核失败原因")
    @JSONField(name = "FailureReason")
    private String FailureReason;
    @ApiModelProperty(value = "审核失败备注")
    @JSONField(name = "FailureRemark")
    private String FailureRemark;
    @ApiModelProperty(value = "处方类型 1=中医 2=西医")
    @JSONField(name = "DType")
    private Integer DType;
    @ApiModelProperty(value = "药品信息集合")
    @JSONField(name = "DrugInfo")
    private String DrugInfo;
    @ApiModelProperty(value = "每次剂数")
    @JSONField(name = "Does")
    private Integer Does;
    @ApiModelProperty(value = "剂（付）总数")
    @JSONField(name = "TotalDoes")
    private Integer TotalDoes;
    @ApiModelProperty(value = "服用方式")
    @JSONField(name = "MedWay")
    private String MedWay;
    @ApiModelProperty(value = "审方药师")
    @JSONField(name = "ChkDoctor")
    private String ChkDoctor;
    @ApiModelProperty(value = "处方电子章")
    @JSONField(name = "Badge")
    private String Badge;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @ApiModelProperty(value = "开发时间")
    @JSONField(name = "CreateTime")
    private Date CreateTime;
    @ApiModelProperty(value = "开方医生科室")
    @JSONField(name = "depName")
    private String depName;
    @ApiModelProperty(value = "用法")
    @JSONField(name = "MedTime")
    private String MedTime;
    @ApiModelProperty(value = "每日剂数")
    @JSONField(name = "DayCount")
    private Integer DayCount;
    @ApiModelProperty(value = "处方药品")
    @JSONField(name = "RxDrugs")
    private List<PharmacistDrugs> RxDrugs;
    
}
